<?php if (!defined('THINK_PATH')) exit(); if(is_array($score)): foreach($score as $index=>$item): ?><div class="content">
<div class="line">
    <span class="pic"><?php echo ($index + '1'); ?></span>
    <span class="nickname">
        <p class="p1"><?php echo idtoname('worker_id','worker','worker_name',$item['worker_id']);?></p>
    </span>
    <span class="nub"><?php echo ($item["sum"]); ?></span>
    <span class="pic"><?php echo ($item['dang']); ?></span>
    <span class="mui-icon mui-icon-arrowdown xIcon"></span>
</div>
<table style="width: 100%;" class="xtableList">
    <tr><td colspan="3" style="padding-left: 10%;font-weight: 600;">考核项目</td><td style="font-weight: 600;">分数</td></tr>
    <tr>
        <td class="front"  colspan="3">党建</td><td class="behind"><?php echo ($item["public"]); ?>分</td><td><a href=""><span class="mui-icon mui-icon-arrowright"></span></a></td>
    </tr>
    <tr>
        <td class="front"  colspan="3">队伍建设</td><td class="behind"><?php echo ($item["part"]); ?>分</td><td><span class="mui-icon mui-icon-arrowright"></span></td>
    </tr>
    <tr>
        <td class="front"  colspan="3">宣传报道和舆情应对</td><td class="behind"><?php echo ($item["price"]); ?>分</td><td><span class="mui-icon mui-icon-arrowright"></span></td>
    </tr>
    <tr>
        <td class="front"  colspan="3">调研信息、典型案例</td><td class="behind"><?php echo ($item["check"]); ?>分</td><td><span class="mui-icon mui-icon-arrowright"></span></td>
    </tr>
    <tr>
        <td class="front"  colspan="3">工作业绩</td><td class="behind"><?php echo ($item["work"]); ?>分</td><td><span class="mui-icon mui-icon-arrowright"></span></td>
    </tr>
</table>
</div><?php endforeach; endif; ?>
<script type="text/javascript">
    $('.line').click(function(){
        $(this).siblings('table').toggle();
    });
</script>